common: board: Dont relocate FDT incase of CONFIG_OF_EMBED
authorSiva Durga Prasad Paladugu <[email protected]>
Thu, 3 Dec 2015 14:46:03 +0000 (15:46 +0100)
committerTom Rini <[email protected]>
Sat, 5 Dec 2015 23:22:34 +0000 (18:22 -0500)
commite9acb9ea430e3638f1306993b10a10385092b20a
treecbed5bc953f7749a91645feca1cfdb14b7e37f00
parentb4857aa90105ea85bf029f8eb99e72fbadc0e2d0
common: board: Dont relocate FDT incase of CONFIG_OF_EMBED

Don't relocate fdt in case of CONFIG_OF EMBED as the fdt is
already embedded with u-boot image.
Update fdt_blob after relocation as the fdt will be copied
during u-boot relocation.

Signed-off-by: Siva Durga Prasad Paladugu <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Reviewed-by: Alexey Brodkin <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]> (QEMU x86)
Tested-by: Thomas Chou <[email protected]> (Nios2)
Acked-by: Thomas Chou <[email protected]>
Acked-by: Simon Glass <[email protected]>
common/board_f.c
common/board_r.c